<h2>Learn NG Template</h2>

<ng-template #myTemplate>
  <h3>This is a template</h3>
  <p>This is an example paragraph to understand ng-template</p>
</ng-template>

<!--ngTemplateOutlet Directive-->
<ng-container *ngTemplateOutlet="myTemplate"></ng-container>